/*
 定义一个home的Schema
*/
let mongoose = require('./mongo.js');
let Schema = mongoose.Schema;

let homeSchema = new Schema({
    bbDesc: { type: String },   // 详情
    bbEngine: { type: String }, // 类型
    bbName: { type: String }, // 名称
    bbUpdateInfo: { type: String },// 描述
    showUrl: { type: String }, // 详情链接
    bbUpdate: { type: String },// 更新日期
    guidCode: { type: String },// GUID
    createTime:{type: Date }, // 创建时间
},{ collection: "homedb"});


module.exports = mongoose.model('home', homeSchema);